package com.ruoyi.basebill.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * OMS销售退货单分录对象 t_oms_salereturnbillentry
 * 
 * @author ptt
 * @date 2023-02-10
 */
public class OmsSalereturnbillentry extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 父表id */
    private Long parentid;

    /** 项次 */
    @Excel(name = "项次")
    private Long lineno;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private String skucode;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String skuname;

    /** 售后数量 */
    @Excel(name = "售后数量")
    private BigDecimal qty;

    /** 计量单位编码 */
    @Excel(name = "计量单位编码")
    private String unit;

    /** 基本售后数量 */
    @Excel(name = "基本售后数量")
    private BigDecimal baseqty;

    /** 基本计量单位 */
    @Excel(name = "基本计量单位")
    private String baseunit;

    /** 品控承担数量 */
    @Excel(name = "品控承担数量")
    private BigDecimal qualityundertakeqty;

    /** 品控拒绝处理数量 */
    @Excel(name = "品控拒绝处理数量")
    private BigDecimal qualityrefuseqty;

    /** 仓库承担待收数量 */
    @Excel(name = "仓库承担待收数量")
    private BigDecimal warehouseundertakeqty;

    /** 仓库拒绝处理数量 */
    @Excel(name = "仓库拒绝处理数量")
    private BigDecimal warehouserefuseqty;

    /** 仓库承担无实物数量 */
    @Excel(name = "仓库承担无实物数量")
    private BigDecimal warehousenoneqty;

    /** 确认数量 */
    @Excel(name = "确认数量")
    private BigDecimal confirmquantity;

    /** 退入仓库编码 */
    @Excel(name = "退入仓库编码")
    private String returnwarehousecode;

    /** 退入仓库名称 */
    @Excel(name = "退入仓库名称")
    private String returnwarehousename;

    /** 虚拟退货仓库编码 */
    @Excel(name = "虚拟退货仓库编码")
    private String virtualreturnwarehousecode;

    /** 虚拟退货仓库名称 */
    @Excel(name = "虚拟退货仓库名称")
    private String virtualreturnwarehousename;

    /** 客户订单号 */
    @Excel(name = "客户订单号")
    private String customerorder;

    /** 装车单号 */
    @Excel(name = "装车单号")
    private String despatchcargono;

    /** 售后类型 */
    @Excel(name = "售后类型")
    private String internalordertype;


    @Excel(name = "备注")
    private String remark;

    /** 售后日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "售后日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date refundcreatedat;

    /** 不含税单价 */
    @Excel(name = "不含税单价")
    private BigDecimal notaxprice;

    /** 不含税总金额 */
    @Excel(name = "不含税总金额")
    private BigDecimal notaxamount;

    /** 系统含税单价 */
    @Excel(name = "系统含税单价")
    private BigDecimal systaxprice;

    /** 含税单价 */
    @Excel(name = "含税单价")
    private BigDecimal taxprice;

    /** 含税总金额 */
    @Excel(name = "含税总金额")
    private BigDecimal taxamount;

    /** 税率（%） */
    @Excel(name = "税率", readConverterExp = "%=")
    private BigDecimal taxrate;

    /** 税额 */
    @Excel(name = "税额")
    private BigDecimal tax;

    /** 是否赠品 */
    @Excel(name = "是否赠品")
    private Long isgift;

    /** 发生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date occurrencedate;

    /** 生产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date productiondate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setParentid(Long parentid) 
    {
        this.parentid = parentid;
    }

    public Long getParentid() 
    {
        return parentid;
    }
    public void setLineno(Long lineno) 
    {
        this.lineno = lineno;
    }

    public Long getLineno() 
    {
        return lineno;
    }
    public void setSkucode(String skucode) 
    {
        this.skucode = skucode;
    }

    public String getSkucode() 
    {
        return skucode;
    }
    public void setSkuname(String skuname) 
    {
        this.skuname = skuname;
    }

    public String getSkuname() 
    {
        return skuname;
    }
    public void setQty(BigDecimal qty) 
    {
        this.qty = qty;
    }

    public BigDecimal getQty() 
    {
        return qty;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setBaseqty(BigDecimal baseqty) 
    {
        this.baseqty = baseqty;
    }

    public BigDecimal getBaseqty() 
    {
        return baseqty;
    }
    public void setBaseunit(String baseunit) 
    {
        this.baseunit = baseunit;
    }

    public String getBaseunit() 
    {
        return baseunit;
    }
    public void setQualityundertakeqty(BigDecimal qualityundertakeqty) 
    {
        this.qualityundertakeqty = qualityundertakeqty;
    }

    public BigDecimal getQualityundertakeqty() 
    {
        return qualityundertakeqty;
    }
    public void setQualityrefuseqty(BigDecimal qualityrefuseqty) 
    {
        this.qualityrefuseqty = qualityrefuseqty;
    }

    public BigDecimal getQualityrefuseqty() 
    {
        return qualityrefuseqty;
    }
    public void setWarehouseundertakeqty(BigDecimal warehouseundertakeqty) 
    {
        this.warehouseundertakeqty = warehouseundertakeqty;
    }

    public BigDecimal getWarehouseundertakeqty() 
    {
        return warehouseundertakeqty;
    }
    public void setWarehouserefuseqty(BigDecimal warehouserefuseqty) 
    {
        this.warehouserefuseqty = warehouserefuseqty;
    }

    public BigDecimal getWarehouserefuseqty() 
    {
        return warehouserefuseqty;
    }
    public void setWarehousenoneqty(BigDecimal warehousenoneqty) 
    {
        this.warehousenoneqty = warehousenoneqty;
    }

    public BigDecimal getWarehousenoneqty() 
    {
        return warehousenoneqty;
    }
    public void setConfirmquantity(BigDecimal confirmquantity) 
    {
        this.confirmquantity = confirmquantity;
    }

    public BigDecimal getConfirmquantity() 
    {
        return confirmquantity;
    }
    public void setReturnwarehousecode(String returnwarehousecode) 
    {
        this.returnwarehousecode = returnwarehousecode;
    }

    public String getReturnwarehousecode() 
    {
        return returnwarehousecode;
    }
    public void setReturnwarehousename(String returnwarehousename) 
    {
        this.returnwarehousename = returnwarehousename;
    }

    public String getReturnwarehousename() 
    {
        return returnwarehousename;
    }
    public void setVirtualreturnwarehousecode(String virtualreturnwarehousecode) 
    {
        this.virtualreturnwarehousecode = virtualreturnwarehousecode;
    }

    public String getVirtualreturnwarehousecode() 
    {
        return virtualreturnwarehousecode;
    }
    public void setVirtualreturnwarehousename(String virtualreturnwarehousename) 
    {
        this.virtualreturnwarehousename = virtualreturnwarehousename;
    }

    public String getVirtualreturnwarehousename() 
    {
        return virtualreturnwarehousename;
    }
    public void setCustomerorder(String customerorder) 
    {
        this.customerorder = customerorder;
    }

    public String getCustomerorder() 
    {
        return customerorder;
    }
    public void setDespatchcargono(String despatchcargono) 
    {
        this.despatchcargono = despatchcargono;
    }

    public String getDespatchcargono() 
    {
        return despatchcargono;
    }
    public void setInternalordertype(String internalordertype) 
    {
        this.internalordertype = internalordertype;
    }

    public String getInternalordertype() 
    {
        return internalordertype;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setRefundcreatedat(Date refundcreatedat)
    {
        this.refundcreatedat = refundcreatedat;
    }

    public Date getRefundcreatedat() 
    {
        return refundcreatedat;
    }
    public void setNotaxprice(BigDecimal notaxprice) 
    {
        this.notaxprice = notaxprice;
    }

    public BigDecimal getNotaxprice() 
    {
        return notaxprice;
    }
    public void setNotaxamount(BigDecimal notaxamount) 
    {
        this.notaxamount = notaxamount;
    }

    public BigDecimal getNotaxamount() 
    {
        return notaxamount;
    }

    public BigDecimal getSystaxprice() {
        return systaxprice;
    }

    public void setSystaxprice(BigDecimal systaxprice) {
        this.systaxprice = systaxprice;
    }

    public void setTaxprice(BigDecimal taxprice)
    {
        this.taxprice = taxprice;
    }

    public BigDecimal getTaxprice() 
    {
        return taxprice;
    }
    public void setTaxamount(BigDecimal taxamount) 
    {
        this.taxamount = taxamount;
    }

    public BigDecimal getTaxamount() 
    {
        return taxamount;
    }
    public void setTaxrate(BigDecimal taxrate) 
    {
        this.taxrate = taxrate;
    }

    public BigDecimal getTaxrate() 
    {
        return taxrate;
    }
    public void setTax(BigDecimal tax) 
    {
        this.tax = tax;
    }

    public BigDecimal getTax() 
    {
        return tax;
    }
    public void setIsgift(Long isgift) 
    {
        this.isgift = isgift;
    }

    public Long getIsgift() 
    {
        return isgift;
    }
    public void setOccurrencedate(Date occurrencedate) 
    {
        this.occurrencedate = occurrencedate;
    }

    public Date getOccurrencedate() 
    {
        return occurrencedate;
    }
    public void setProductiondate(Date productiondate) 
    {
        this.productiondate = productiondate;
    }

    public Date getProductiondate() 
    {
        return productiondate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentid", getParentid())
            .append("lineno", getLineno())
            .append("skucode", getSkucode())
            .append("skuname", getSkuname())
            .append("qty", getQty())
            .append("unit", getUnit())
            .append("baseqty", getBaseqty())
            .append("baseunit", getBaseunit())
            .append("qualityundertakeqty", getQualityundertakeqty())
            .append("qualityrefuseqty", getQualityrefuseqty())
            .append("warehouseundertakeqty", getWarehouseundertakeqty())
            .append("warehouserefuseqty", getWarehouserefuseqty())
            .append("warehousenoneqty", getWarehousenoneqty())
            .append("confirmquantity", getConfirmquantity())
            .append("returnwarehousecode", getReturnwarehousecode())
            .append("returnwarehousename", getReturnwarehousename())
            .append("virtualreturnwarehousecode", getVirtualreturnwarehousecode())
            .append("virtualreturnwarehousename", getVirtualreturnwarehousename())
            .append("customerorder", getCustomerorder())
            .append("despatchcargono", getDespatchcargono())
            .append("internalordertype", getInternalordertype())
            .append("remark", getRemark())
            .append("refundcreatedat", getRefundcreatedat())
            .append("notaxprice", getNotaxprice())
            .append("notaxamount", getNotaxamount())
            .append("systaxprice", getSystaxprice())
            .append("taxprice", getTaxprice())
            .append("taxamount", getTaxamount())
            .append("taxrate", getTaxrate())
            .append("tax", getTax())
            .append("isgift", getIsgift())
            .append("occurrencedate", getOccurrencedate())
            .append("productiondate", getProductiondate())
            .toString();
    }
}
